import 'package:flutter/material.dart';
import 'package:flutter_1/utils/language/message.dart';
import 'package:get/get.dart';

/// 切换语言
class MessagesController extends GetxController {
  void changeLanguage(String languageCode, String countryCode) {
    debugPrint("------------$languageCode ----${Strem.title}");

    var local = Locale(languageCode, countryCode);
    Get.updateLocale(local);
  }
}
